using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_ChiTietPhieuNhapEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_ChiTietPhieuNhapEntity()
         {
             tableName = "TBL_ChiTietPhieuNhap";


			 fieldInfos.Add(new FieldInfo("TBL_ChiTietPhieuNhap","GhiChu","GhiChu","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietPhieuNhap","MaCTPN","MaCTPN","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietPhieuNhap","MaPN","MaPN","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietPhieuNhap","MaTB","MaTB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietPhieuNhap","SoLuong","SoLuong","int",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_GhiChu;
		 protected string m_MaCTPN;
		 protected string m_MaPN;
		 protected string m_MaTB;
		 protected int m_SoLuong;

		 public string GhiChu

          { 
                get { 
                    return m_GhiChu;}

                set{m_GhiChu=value;

                    GetField("GhiChu").Set();
                    GetField("GhiChu").IsNull=(value == null);           
                    }
          }
		 public string MaCTPN

          { 
                get { 
                    return m_MaCTPN;}

                set{m_MaCTPN=value;

                    GetField("MaCTPN").Set();
                    GetField("MaCTPN").IsNull=(value == null);           
                    }
          }
		 public string MaPN

          { 
                get { 
                    return m_MaPN;}

                set{m_MaPN=value;

                    GetField("MaPN").Set();
                    GetField("MaPN").IsNull=(value == null);           
                    }
          }
		 public string MaTB

          { 
                get { 
                    return m_MaTB;}

                set{m_MaTB=value;

                    GetField("MaTB").Set();
                    GetField("MaTB").IsNull=(value == null);           
                    }
          }
		 public int SoLuong

          { 
                get { 
                    return m_SoLuong;}

                set{m_SoLuong=value;

                    GetField("SoLuong").Set();
                    GetField("SoLuong").IsNull=(value == null);           
                    }
          }

}
}
